// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import Vant from 'vant';
import 'vant/lib/index.css';
import axios from 'axios'
Vue.config.productionTip = false
Vue.prototype.$http=axios
axios.defaults.baseURL="http://localhost:8080/"
Vue.prototype.HOST='/api'
Vue.prototype.IMGURL='http://localhost:3000/upload/'
Vue.use(Vant)
new Vue({
  el: '#app',
  store,
  router,
  components: { App },
  template: '<App/>'
})
